package com.neusoft.controller.check;

import com.neusoft.service.MedicalTechnologyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;
import java.util.Map;

@RestController
@CrossOrigin
@RequestMapping("/medicalTechnology")
public class MedicalTechnologyController {
    @Autowired
    MedicalTechnologyService medicalTechnologyService;
    @GetMapping("/getMedicalTechnology")
    public List<Map<String,Object>> getMedicalTechnology(@RequestParam Integer registerId){
       return medicalTechnologyService.getMedicalTechnology(registerId);
    }
}
